package com.google.code.struts2jruby;

import java.util.Map;

import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.DefaultActionProxy;
import com.opensymphony.xwork2.config.entities.ActionConfig;

/**
 * This class is only needed to expose the construtor. The construtor on
 * DefaultActionProxy is protected.
 */
public class RubyActionProxy extends DefaultActionProxy {
	protected RubyActionProxy(ActionInvocation inv, String namespace,
			String actionName, Map extraContext, boolean executeResult,
			boolean cleanupContext) throws Exception {
		super(inv, namespace, actionName, extraContext, executeResult,
				cleanupContext);
	}
	
	protected void setActionConfig(ActionConfig config) {
		this.config = config;
	}
}
